<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Web>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="ui-corner-top ui-widget-content" style="margin: 0px 5px 0px 5px;">
        <div class="ui-widget-header ui-corner-top ui-border-bottom" style="padding: 10px">
            <h2 style="overflow: auto; margin: 0px;">
                <img style="float: left;" alt="" src="<%:Url.Content("~/Content/Images/add_page_48x48.png") %>" />
                <span style="float: left; margin-top: 12px;">
                    <%:Html.Global("SetupMySite_Title")%></span></h2>
        </div>
        <% using (Html.BeginForm())
           {%>
        <%:Html.AntiForgeryToken() %>
        <div style="padding: 30px;">
            <div class="ui-state-highlight" style="padding:10px;">
                You can create your personal website though this wizard.The personal website allows you write blogs,wiki,create your own pages,
                manage your personal web files.
            </div>
            <div id="title_field">
                <h4>
                    <label for="Title">
                        <%=Html.Global("RES_TITLE")+" - " + Html.Global("RES_PAGE_TITLE_TIPS") %></label></h4>
                <%:Ajax.TextBox("Title",User.Identity.Name, new TextBoxOptions()
                {
                    Clearable=true,
                    IconCssClass="ui-icon ui-icon-document-b",
                    Width=450
                })
                %>
            </div>
            <div id="desc_field">
                <h4>
                    <label for="Description">
                        <%=Html.Global("RES_DESC") %></label></h4>
                <%=Ajax.TextArea("Description", "", new { rows=5})%>
            </div>
            <div style="padding: 10px; text-align: center;">
                <%:Ajax.Submit("Create") %>
            </div>
        </div>
        <%} %>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
